home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / (A)M / (A)M3.ADF / Sounds.02.doc < prev    next >
Text File  |  1989-07-10  |  6KB  |  141 lines

  1.                  ______________________________________________
  2.                 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.                //       //    //  //~~~~~   //    //   //~~~~~
  4.               //       //    //  //        //    //   //   _
  5.              //       //    //  //        //    //   //    //
  6.              ~~~~~~~  ~~~~~~~   ~~~~~~~   ~~~~~~~    ~~~~~~~  sm
  7.  
  8.                Champaign-Urbana Commodore Users Group, Inc.
  9.  
  10.                               P R E S E N T S
  11.  
  12.                           ---------------------
  13.                           |      Sounds.02    |
  14.                           ---------------------
  15.  
  16.                                   For the
  17.                          _   C_o m m o d o_r_e   _
  18.                         /\\  |\\   /| || //  \  /\\
  19.                        /  \\ | \\ /|| ||(< __  /  \\
  20.                       /--- \\|  \X || || \\_||/--- \\
  21.                      /______________________________\\
  22.  
  23.  
  24. This disk is distributed by CUCUG (Champaign-Urbana Commodore User's Group,
  25. Inc.).  If you are not a member of our club and would like information
  26. about obtaining more selections from our library, contact us at P.O. Box
  27. 716, Champaign, IL 61824-0716.
  28.  
  29. This is our second Amiga SOUNDS disk.  This disk contains 30 different
  30. digitally- sampled sounds from various sources.  To play each sound sample,
  31. simply point and click to its Workbench icon.  The program that plays the
  32. sound files is (appropriately enough) called "Sound" and it was written by
  33. Richard Lee Stockton.  The "docs" for that program are on the disk.  As an
  34. extra bonus, we are also including a program called "MakeSounds" which
  35. allows you to do some simple editting of your sound files and also makes
  36. them easier to use in your own C programming projects.  The samples can all
  37. be found in the "Sounds" drawer and include:
  38.  
  39.     Boink1                      HeliIdle                   Ow!
  40.     Boink2                      Hey-You                    Rococo
  41.     Boink3                      HolyHole                   Spanish
  42.     Bowman                      Horn                       ThatsIt
  43.     Buzzer                      Horn3                      Thud
  44.     CarHorn                     Laugh                      Twist-N-Shout
  45.     Don't_Worry                 LowBuzzer                  Whistle
  46.     Drip                        MachineGun                 WomanScream
  47.     FirstLesson                 Magilla                    Woody
  48.     GoodMorning                 ManScream                  YabbaDabba
  49.  
  50.  -Kevin Hisel
  51.   CUCUG Chief Librarian
  52.  
  53.  
  54. Sound Doc
  55. ----------------------------------------------------------------------------
  56. Sound is copyright (c) 1988 by Richard Lee Stockton, 21305 60th Ave W.,
  57. Mountlake Terrace, Washington 98043, 206/776-1253(voice), but may be freely
  58. distributed as long as no profit is made from its distribution or sale
  59. without my written permission. I call this concept 'FreeWare', you can call
  60. it whatcha want.
  61.  
  62. Long Live Leo and All the Little Schwabie's!
  63.  
  64.  
  65. DESCRIPTION
  66.  
  67. Sound will attempt to feed <SOUNDfilename>'s data to the audio device. It
  68. will 'sound' files containing ANY kind of data, (try 'Sound Sound' :-) and
  69. of ANY length. If you have expansion memory, 'Sound' will store data in
  70. FAST ram, and use only 4-5 k. of CHIP ram to actually sound the data.
  71.  
  72. If the STEREO flag is turned ON,the data will be split and played in
  73. stereo. Otherwise, identical data is sent to left and right channels.
  74. Perfect Sound (tm) samples in stereo will automatically sound in stereo.
  75. These are the only stereo samples I've seen, so I don't know if the code
  76. used is universal (in IFF) for STEREO.
  77.  
  78. If called from workbench, (by doubleclicking on a project icon), Sound will
  79. search the 'ToolTypes' entries in the project icon for 'STEREO', 'CYCLES',
  80. and 'SAMPLES_PER_SECOND'. If found, these values will override any IFF
  81. values read from the SOUNDfile.
  82.  
  83. If called from CLI, over-riding values for STEREO, CYCLES, and/or
  84. SAMPLES_PER_SECOND may be specified in the command line. (See below)
  85.  
  86. If no settings for STEREO, CYCLES, and/or SAMPLES_PER_SECOND are found, in
  87. the file itself or in the calling arguments, STEREO defaults to OFF, CYCLES
  88. to 1, and SAMPLES_PER_SECOND to 10000.
  89.  
  90. ABORT!
  91.  
  92. Sound may be aborted by typing <CTRL> 'c' from the keyboard.
  93.  
  94. If <CTRL> 'c' does NOT abort the sound, click on the word 'Sound' near the
  95. left side of the top line, then <CTRL> 'c' again.
  96.  
  97. USAGE
  98.  
  99. NOTE!!!  'Sound' should be in your 'c' directory, (ie, 'copy Sound c:'),
  100.           before the following USAGEs will work!
  101.  
  102.    from CLI,
  103.  
  104.    Sound <SOUNDfilename> [STEREO] [CYCLES] [SAMPLES_PER_SECOND]
  105.  
  106. The filename MUST be the first argument, then the other arguments may be in
  107. any order, or missing. (see below for valid values). Sound alone will
  108. display a USAGE message. Sound filename, with no other arguments, will
  109. 'sound' the file, then display the SAMPLES_PER_SECOND if the file was
  110. found. (10000 probably means it wasn't an IFF sound file.)
  111.  
  112.  
  113.    from WorkBench,
  114.  
  115.    Double-'Click' on project icon whose Default Tool is set to 'c:Sound'.
  116.  
  117.    ToolTypes:   STEREO=   CYCLES=   SAMPLES_PER_SECOND=
  118.  
  119.     Valid Values:
  120.  
  121.        STEREO                ON -   OFF   default=off. Not case sensitive.
  122.                                            File is split left/right.
  123.        CYCLES                 0 -    99   0 = sound loops until aborted.
  124.                                            Use Abort Button to stop.
  125.        SAMPLES_PER_SECOND  1000 - 65535   greater than 30000 seems to have
  126.                                            no effect, but MAX = 64k.
  127.  
  128. ARGUMENT PRIORITIES
  129.  
  130. Arguments from CLI or in the WorkBench Icon override any IFF info.  IFF
  131. file info overrides the default values.  Defaults: STEREO = off, CYCLES =
  132. 1, SAMPLES_PER_SECOND = 10000
  133.  
  134.  
  135. OTHER STUFF
  136.  
  137. Included in this arc file are a sample project icon and its related data
  138. file (Sneeze.info and Sneeze) as well as Sound, Sound.c, & this file. Feel
  139. free to design your own icons, any project icon should work. Just make the
  140. Default Tool in the icon 'c:Sound'.
  141.